
if(WIN32)
    file(GLOB BACKENDS_SRC "*.cpp" ${BASE_HEADERS})
    file(GLOB BACKENDS_HEADERS "*.h")
    add_library(backends STATIC ${BACKENDS_SRC} ${BACKENDS_HEADERS})
    target_link_libraries(backends ${WINLIBS} ${DRACO_DECODER_LIBRARY})
elseif(APPLE)
    file(GLOB BACKENDS_SRC "*.mm")
    file(GLOB BACKENDS_HEADERS "*.h")
    add_library(backends STATIC ${BACKENDS_SRC} ${BACKENDS_HEADERS})
    target_link_libraries(backends ${Vulkan_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${DRACO_DECODER_LIBRARY})
endif()